package com.wyl.showtype.basic.table.vo;

/**
 * 数据表格标题
 * @author 吴宇亮 on 2023/4/21 11:06
 */
public class TableHeaderVo {

    /**
     * 标题编号，比如：name
     */
    private String code;
    /**
     * 标题名称，比如：姓名
     */
    private String name;
    /**
     * 标题前端展示宽度
     */
    private String width;
    /**
     * 该字段是否可以搜索
     */
    private boolean searchAble;
    /**
     * 该字段是否可以排序
     */
    private boolean orderAble;

    public String getCode() {
        return code;
    }

    public TableHeaderVo setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public TableHeaderVo setName(String name) {
        this.name = name;
        return this;
    }

    public String getWidth() {
        return width;
    }

    public TableHeaderVo setWidth(String width) {
        this.width = width;
        return this;
    }

    public boolean isSearchAble() {
        return searchAble;
    }

    public TableHeaderVo setSearchAble(boolean searchAble) {
        this.searchAble = searchAble;
        return this;
    }

    public boolean isOrderAble() {
        return orderAble;
    }

    public TableHeaderVo setOrderAble(boolean orderAble) {
        this.orderAble = orderAble;
        return this;
    }
}
